package com.xiaoyung.easyisapisdk.feign.api.third;

import com.xiaoyung.easyisapisdk.common.third.request.EnterpriceaAdvQueryRquset;
import com.xiaoyung.easyisapisdk.common.third.request.EnterpriceaGetBasicInfoRquset;
import com.xiaoyung.easyisapisdk.common.third.request.EnterpriceaYearReportQueryRquset;
import com.xiaoyung.easyisapisdk.common.third.response.EnterpriseBasicInfo;
import com.xiaoyung.easyisapisdk.common.third.response.EnterpriseInfo;
import com.xiaoyung.easyisapisdk.common.third.response.EnterpriseYearReport;

import feign.QueryMap;
import feign.RequestLine;

/**
 * 企业信息查询服务
 */
public interface EnterpriseApi {

	/**
	 * 根据关键词查询企业列表
	 * @param req
	 * @return
	 */
	@RequestLine("GET /openapi/enterprise/advSearch")
	public EnterpriseInfo advSearch(@QueryMap EnterpriceaAdvQueryRquset req) ;
	
	/**
	 * 根据企业名称查询企业工商信息
	 * @param req
	 * @return
	 */
	@RequestLine("GET /openapi/enterprise/getBasicInfo")
	public EnterpriseBasicInfo getBasicInfo(@QueryMap EnterpriceaGetBasicInfoRquset req) ;
	
	/**
	 * 企业工商年报
	 * @param req
	 * @return
	 */
	@RequestLine("GET /openapi/enterprise/getReportListByName")
	public EnterpriseYearReport getReportListByName(@QueryMap EnterpriceaYearReportQueryRquset req) ;
}
